package interfaces;

import javax.swing.ImageIcon;

class ImageLoader {
	public static ImageIcon playIcon, stopIcon, nextIcon;
	public static ImageIcon dirtIcon, obstacleIcon, tileIcon, vacuumIcon, flowerIcon,
							suitIcon, groceriesIcon, foodIcon, tableIcon, doorIcon, gardenIcon, 
							frontDoorIcon, tile1Icon, tile2Icon, tile3Icon, tile4Icon, tile5Icon, 
							ciccio1Icon, ciccio2Icon, ciccio3Icon, ciccio4Icon, cicciorenataIcon,
							ciccioFlIcon, renataIcon, dinnertableIcon, endIcon;
	public static int iconSize = 80;
	public static int iconSize2 = 50;
	
	
	static {
		playIcon = new ImageIcon( new ImageIcon("img/play.png").getImage().getScaledInstance(30,30,30));
		stopIcon = new ImageIcon( new ImageIcon("img/stop.png").getImage().getScaledInstance(30,30,30));
		nextIcon = new ImageIcon( new ImageIcon("img/next.png").getImage().getScaledInstance(30,30,30));
		
		tileIcon = new ImageIcon(new ImageIcon("img/tile.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tile1Icon = new ImageIcon(new ImageIcon("img/bedroom.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tile2Icon = new ImageIcon(new ImageIcon("img/living.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tile3Icon = new ImageIcon(new ImageIcon("img/kitchen.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tile4Icon = new ImageIcon(new ImageIcon("img/hall.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tile5Icon = new ImageIcon(new ImageIcon("img/house.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		vacuumIcon = new ImageIcon(new ImageIcon("img/vacuum.jpeg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		flowerIcon = new ImageIcon(new ImageIcon("img/roses.gif").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		suitIcon = new ImageIcon(new ImageIcon("img/suit.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		foodIcon = new ImageIcon(new ImageIcon("img/cena.jpeg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		groceriesIcon = new ImageIcon(new ImageIcon("img/groceries.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		tableIcon = new ImageIcon(new ImageIcon("img/tavolo.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		doorIcon = new ImageIcon(new ImageIcon("img/door_aerea.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		frontDoorIcon = new ImageIcon(new ImageIcon("img/frontdoor.gif").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		gardenIcon = new ImageIcon(new ImageIcon("img/fence2.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		ciccio1Icon = new ImageIcon(new ImageIcon("img/man1.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		ciccio2Icon = new ImageIcon(new ImageIcon("img/man2.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		ciccio3Icon = new ImageIcon(new ImageIcon("img/mandinner.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		ciccio4Icon = new ImageIcon(new ImageIcon("img/manwait.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		ciccioFlIcon = new ImageIcon(new ImageIcon("img/manwithroses.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		cicciorenataIcon = new ImageIcon(new ImageIcon("img/manwait.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		renataIcon = new ImageIcon(new ImageIcon("img/woman.png").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		dinnertableIcon= new ImageIcon(new ImageIcon("img/tavolocena.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
		endIcon = new ImageIcon(new ImageIcon("img/final.jpg").getImage().getScaledInstance(iconSize,iconSize,iconSize));
	}
}
